﻿<dxc:DXWindow x:Class="ThanNhanTao.frmConnecSQL"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:dxc="http://schemas.devexpress.com/winfx/2008/xaml/core"
        Title="Thông tin kết nối hệ thống dữ liệu" WindowStartupLocation="CenterScreen"
        xmlns:local="clr-namespace:ConvertCustom;assembly=ThanNhanTao"
        dxc:ThemeManager.ThemeName="Office2007Blue" Icon="/ThanNhanTao;component/Images/iconbv48x48.ico" 
              xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
              xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" WindowState="Normal" Width="400" Height="230" WindowStyle="None" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" ResizeMode="NoResize" Topmost="True">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="120"></RowDefinition>
            <RowDefinition Height="55"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <GroupBox Header="Thông tin kết nối" Margin="2 2 2 2">
            <Grid>
            <Grid.RowDefinitions>
                    <RowDefinition Height="25"></RowDefinition>
                    <RowDefinition Height="25"></RowDefinition>
                    <RowDefinition Height="25"></RowDefinition>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="80"></ColumnDefinition>
                    <ColumnDefinition></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <Label x:Name="serverName"  Height="23" Content="Server name:" Grid.Column="0" Grid.Row="0"></Label>
                <dxe:ComboBoxEdit Grid.Column="1" Grid.Row="0" Height="23" Name="cboserverName" FontWeight="Bold" />
                <Label x:Name="login" Height="23" Content="Login:" Grid.Column="0" Grid.Row="1"></Label>
                <dxe:TextEdit NullText="Nhập tên đăng nhập" x:Name="txtlogin" Grid.Column="1" Height="23" Grid.Row="1" FontWeight="Bold"></dxe:TextEdit>
                <Label x:Name="pass" Height="23" Content="Password:" Grid.Column="0" Grid.Row="2"></Label>
                <dxe:PasswordBoxEdit NullText="Nhập mật khẩu" x:Name="txtpass" Grid.Column="1" Height="23" Grid.Row="2" FontWeight="Bold"></dxe:PasswordBoxEdit>
                <!--<Label x:Name="dataBase" Content="Data base:" Grid.Column="0" Grid.Row="3" Visibility="Hidden"></Label>
                <dxe:ComboBoxEdit Grid.Column="1" Grid.Row="3" Name="cboDataBase" FontWeight="Bold" Visibility="Hidden"/>-->
            </Grid>
        </GroupBox>
        <GroupBox FontWeight="Bold" Foreground="#FF190000" VerticalAlignment="Top" Margin="2 2 2 2" Grid.Row="1">
            <Grid HorizontalAlignment="Right">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition></ColumnDefinition>
                    <ColumnDefinition Width="84"></ColumnDefinition>
                    <ColumnDefinition Width="84"></ColumnDefinition>
                    <ColumnDefinition Width="84"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <Button Content="_Lưu" Height="23"  HorizontalAlignment="Center" Name="buttonLuu" VerticalAlignment="Center" Width="80" Grid.Column="1" TabIndex="34" FontWeight="Bold" Click="buttonLuu_Click" />
                <Button Content="Làm mới" Height="23" HorizontalAlignment="Center" Name="buttonLamMoi" VerticalAlignment="Center" Width="80" Grid.Column="2" FontWeight="Bold" Click="buttonLamMoi_Click" />
                <Button Content="Đóng" Height="23" HorizontalAlignment="Center" Name="buttonDong" VerticalAlignment="Center" Width="80" TabIndex="36" Grid.Column="3" FontWeight="Bold" Click="buttonDong_Click" />
            </Grid>
        </GroupBox>
    </Grid>
</dxc:DXWindow>
